export default {
  state: {
    //用户是否登录
    token:false,
  },
    getters: {
        token: (state) => state.token,
    },
    mutations: {
        setToken: (state, token) => {
            state.token = token;
        },
    },
};
